/**
 * Project: ameba.biz
 * 
 * File Created at 2015年12月15日
 * $Id$
 * 
 * Copyright 2015 dface.cn Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * dface Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with www.dface.cn
 */
package cn.dface.ameba.biz.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * ResourceVo
 * 
 * @author LVZY
 */
public class ResourceVo extends AbstractVo {

    private String name;
    private String description;
    private String key;
    private String mimeType;
    private String size;
    @JsonIgnore
    private byte[] data;
    private BucketVo bucket;
    private UserVo user;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BucketVo getBucket() {
        return bucket;
    }

    public void setBucket(BucketVo bucket) {
        this.bucket = bucket;
    }
    
    public UserVo getUser() {
        return user;
    }

    public void setUser(UserVo user) {
        this.user = user;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

}
